import Layout from '@/layout'

export default {

  path: '/staff',
  component: Layout,
  redirect: '/staff/staffList',
  name: 'staff',
  meta: { title: '人员管理', icon: 'el-icon-s-help' },
  children: [
    {
      path: 'staffList',
      name: 'StaffList',
      component: () => import('@/views/staff/staffList.vue'),
      meta: { title: '人员列表' }
    },
    {
      path: 'staffCount',
      name: 'StaffCount',
      component: () => import('@/views/staff/staffCount.vue'),
      meta: { title: '人效统计' }
    },
    {
      path: 'workloadList',
      name: 'WorkloadList',
      component: () => import('@/views/staff/workloadList.vue'),
      meta: { title: '工作量列表' }
    }
  ]

}
